package com.wg.msshopsp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@TableName("shop")
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "店铺表")
public class Shop implements Serializable {
    @Schema(description = "店铺编号")
    private Integer id;

    @Schema(description = "用户编号")
    private Integer userId;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "店铺图片")
    private String logo;

    @Schema(description = "店铺描述")
    private String shopDesc;

    @Schema(description = "店铺状态")
    private String status;

    @Schema(description = "开店时间")
    private String createTime;

    @Schema(description = "商品数量")
    private Integer productCount;
}
